package com.woniu.staff.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年05月23日
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("employee")
@ApiModel("员工实体类")
public class Employee implements Serializable {

    private static final long serialVersionUID = 1L;

    /*
     * 员工表
     */
    @ApiModelProperty(name = "id",value = "员工id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /*
     * 账号id
     */
    @ApiModelProperty(name = "accountId",value = "账号id")
    @TableField("account_id")
    private Long accountId;

    /*
     * 员工姓名
     */
    @ApiModelProperty(name = "employeName",value = "员工姓名")
    @TableField("employe_name")
    private String employeName;

    /*
     * 身份证
     */
    @ApiModelProperty(name = "identityCard",value = "身份证")
    @TableField("identity_card")
    private String identityCard;

    /*
     * 电话号码
     */
    @ApiModelProperty(name = "phone",value = "电话号码")
    @TableField("phone")
    private String phone;

    /*
     * 隶属站点id
     */
    @ApiModelProperty(name = "stationId",value = "隶属站点id")
    @TableField("station_id")
    private Long stationId;

    /*
     * qq号
     */
    @ApiModelProperty(name = "qq",value = "qq号")
    @TableField("qq")
    private Long qq;

    /*
     * 状态
     */
    @ApiModelProperty(name = "state",value = "状态")
    @TableField("state")
    private Long state;

    /*
     * 角色姓名
     */
    @ApiModelProperty(name = "roleName",value = "角色姓名")
    @TableField("role_name")
    private String roleName;

    /*
     * 角色id
     */
    @ApiModelProperty(name = "roleId",value = "角色id")
    @TableField("role_id")
    private Long roleId;

    /*
     * 员工载重量
     */
    @ApiModelProperty(name = "load",value = "员工载重量")
    @TableField("weight")
    private Double weight;


}
